package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.sql.Timestamp;

/*
*
 * @description:资产清单视图对象
 * @author: jianjiawei
 * @date: 2023/2/18 14:45
 **/
@ApiModel("资产清单视图对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AssetListVO {
    //主键ID
    @ApiModelProperty(name = "id",notes = "主键",dataType = "int",required = true)
    private Long id;

    //变更状态
    @ApiModelProperty(name = "changeState",notes = "变更状态",dataType = "String",required = true)
    private String changeState;

    //签字状态
    @ApiModelProperty(name = "signState",notes = "签字状态",dataType = "String",required = true)
    private String signState;

    //资产照片
    @ApiModelProperty(name = "assetsPhoto",notes = "资产照片",dataType = "String",required = true)
    private String assetsPhoto;

    //资产编码
    @ApiModelProperty(name = "assetsCode",notes = "资产编码",dataType = "String",required = true)
    private String assetsCode;

    //资产名称
    @ApiModelProperty(name = "assetName",notes = "资产名称",dataType = "String",required = true)
    private String assetName;

    //RFID
    @ApiModelProperty(name = "assetsRFID",notes = "RFID",dataType = "String",required = true)
    private String assetsRFID;

    //资产类别
    @ApiModelProperty(name = "assetClass",notes = "资产类别",dataType = "String",required = true)
    private String assetClass;

    //资产型号
    @ApiModelProperty(name = "assetModel",notes = "资产型号",dataType = "String",required = true)
    private String assetModel;

    //资产标签
    @ApiModelProperty(name = "assetsLabel",notes = "资产标签")
    private String label;

    //资产序列号(SN号)
    @ApiModelProperty(name = "assetsSerialNumber",notes = "SN号",dataType = "String",required = true)
    private String assetsSerialNumber;

    //资产的计量单位
    @ApiModelProperty(name = "assetsUnitMeasurement",notes = "资产的计量单位",dataType = "String",required = true)
    private String assetsUnitMeasurement;

    //资产金额
    @ApiModelProperty(name = "assetMoney",notes = "资产金额",dataType = "String",required = true)
    private String assetMoney;

    //使用公司
    @ApiModelProperty(name = "assetUserComp",notes = "使用公司",dataType = "String",required = true)
    private String assetUserComp;

    //使用部门
    @ApiModelProperty(name = "assetDept",notes = "使用部门",dataType = "String",required = true)
    private String assetDept;

    //使用人
    @ApiModelProperty(name = "assetUser",notes = "使用人",dataType = "String",required = true)
    private String assetUser;

    //资产区域
    @ApiModelProperty(name = "assetsRegionName",notes = "资产区域名称")
    private String assetsRegionName;

    //资产存放地
    @ApiModelProperty(name = "assetsStorageLocation",notes = "资产存放地")
    private String assetsStorageLocation;

    //管理员
    @ApiModelProperty(name = "assetsManager",notes = "资产管理员")
    private String assetsManager;

    //所属公司
    @ApiModelProperty(name = "assetsAdmin",notes = "资产所属公司")
    private String assetsAdmin;

    //购入日期
    @ApiModelProperty(name = "assetsPurchaseDate",notes = "资产购入日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date assetsPurchaseDate;

    //清理日期
    @ApiModelProperty(name = "assetsClearDate",notes = "资产清理日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date assetsClearDate;

    //维保到期
    @ApiModelProperty(name = "assetsWBEndDate",notes = "维保到期日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date assetsWBEndDate;

    //供应商
    @ApiModelProperty(name = "supplier",notes = "供应商")
    private String supplier;

    //使用期限
    @ApiModelProperty(name = "assetsServiceLife",notes = "资产使用期限")
    private Integer assetsServiceLife;

    //来源
    @ApiModelProperty(name = "assetsSource",notes = "资产来源")
    private String assetsSource;

    //创建者
    @ApiModelProperty(name = "assetsCreater",notes = "资产创建人")
    private String assetsCreater;

    //创建时间
    @ApiModelProperty(name = "assetsCreateTime",notes = "资产创建日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date assetsCreateTime;

    //收货单号
    @ApiModelProperty(name = "assetsReceiptNo",notes = "资产收货单号")
    private String assetsReceiptNo;

}
